package com.asteros.crypto.utils.content.remote.service;

import com.asteros.crypto.utils.content.WebServerCM;

public class RemoteCMWebService {
	private WebServerCM cm = new WebServerCM();
	
	public byte[] getContent(String userId, String documentId) throws Exception {
		
		return cm.getContent(userId, documentId);	
	}
	public boolean verifyDocumentSignature(String userId, String documentId) throws Exception
	{
		return cm.verifyDocumentSignature(userId, documentId);	
	}
	public byte[] getSignedData(String userId, String documentId) throws Exception
	{
		return cm.getSignedData(userId, documentId);	
	}
	public void saveSignedData(String userId, String documentId, byte[] buf) throws Exception 
	{
		cm.saveSignedData(userId, documentId, buf);
	}
}
